package club.terroir.server.util;

import javax.servlet.http.HttpServletRequest;

public class UtilJsp {

		public static String getCommentError(HttpServletRequest request){
			String comment = (String) request.getAttribute("error");
			String r = "";
			if (comment == null){
				
			}else if (comment.length()==0){
				
			}else {
				return "<div class=\"comment_error\">"+comment+"</div>";
			}
			return r;
		}
}
